# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Small utility to switch between different Xorg screens on multihead configurations"
HOMEPAGE="http://users.tkk.fi/spniskan/switchscreen/"
SRC_URI="http://users.tkk.fi/spniskan/switchscreen/switchscreen-0.1.1.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="x11-libs/libX11"

src_compile() {
	emake || die "emake failed"
}

src_install() {
	exeinto /usr/bin
	dobin switchscreen
	dobin togglescreen.sh

	dodoc COPYING README*
}
